package com.ruoyi.business.shop.api.domain;


import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;


/**
 * 店铺信息对象 shop
 * 
 * @author gcc
 * @date 2025-02-21
 */

@Data
@AllArgsConstructor
@NoArgsConstructor

public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 店名 */
    @Excel(name = "店名")
    private String name;

    /** 经营区域 */
    @Excel(name = "经营区域")
    private String operatingArea;

    /** 注册时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date regTime;

    /** 开始营业时间 */
    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "开始营业时间", width = 30, dateFormat = "HH:mm:ss")
    private Date startTime;

    /** 停止营业时间 */
    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "停止营业时间", width = 30, dateFormat = "HH:mm:ss")
    private Date endTime;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")

    private String latitude;

    /** 商家介绍 */
    @Excel(name = "商家介绍")
    private String description;

    /** 门店照片【缩略图】 */
    @Excel(name = "门店照片【缩略图】")
    private String photo;

    /** 商家评分，默认值0 */
    @Excel(name = "商家评分，默认值0")
    private Long rate;

    /** 所属区域 */
    @Excel(name = "所属区域")
    private String area;

    /** 经营状态（0正常、1放假） */
    @Excel(name = "经营状态", readConverterExp = "0=正常、1放假")
    private Long status;

    /** 删除状态 */
    private Long deleted;

    /** 审核状态(0待审核、1系统已审核、2已审核、3已拒绝) */
    @Excel(name = "审核状态(0待审核、1系统已审核、2已审核、3已拒绝)")
    private Long auditStatusId;



    /**
     *  商铺关联查询
     *  商铺认证
     *  商铺 门店图片
     *
     *  服务 服务类别
     */

    private ShopVerification shopVerification;





}
